package com.satan.novel.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName NovelUserApplication
 * @Description TODO
 * @date 2024/1/17 19:04
 * @Version 1.0
 */
@EnableCaching
@MapperScan("com.satan.novel.*.dao.mapper")
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.satan.novel"})
@EnableFeignClients(basePackages = {"com.satan.novel.book.feign"})
public class NovelUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(NovelUserApplication.class, args);
    }
}
